#include "D3DEngine.h"

int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE, LPSTR szCmdLine, int ) {

    CD3DApp app( TRUE ) ;
    app.OnLostDevice(NULL) ;
    UINT height = GetD3DEngineState().GetWindowedBackBufferHeight() ; 
    height ;
 
    return S_OK ;
}